package com.salas.entity;
// Generated 2009-3-4 20:18:47 by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.List;
import java.util.ArrayList;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.OneToOne;

import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.validator.Length;


/**
 * Product generated by hbm2java
 */
@Entity
@Table(name = "productDesign", catalog = "jacks")
public class productDesign implements java.io.Serializable {


	private static final long serialVersionUID = 1L;
	private Integer designID;
	private String design;
	private String length;
	private String style;
	
	public productDesign() {
	}

	public productDesign(String design) {
		this.design = design;
		
		//this.orderitems_1 = orderitems_1;
	}

	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "design_ID", unique = true, nullable = false)
	public Integer getDesignID() {
		return this.designID;
	}

	public void setDesignID(Integer designID) {
		this.designID = designID;
	}

	@Column(name = "design", length = 10)
	@Length(max = 10)
	public String getDesign() {
		return this.design;
	}

	public void setDesign(String design) {
		this.design = design;
	}
	@Column(name = "length", length = 10)
	@Length(max = 10)
	public String getLength() {
		return this.length;
	}

	public void setLength(String length) {
		this.length = length;
	}
	@Column(name = "style", length = 10)
	@Length(max = 10)
	public String getStyle() {
		return this.style;
	}

	public void setStyle(String style) {
		this.style = style;
	}
}
